package cn.com.usermanage;

import cn.com.user.Poke_User;
import com.server.Board_Table;

public abstract interface UserManager
{
	/**
	 * 用户登入初始化
	 * 其实为初始化桌子信息
	 * @param paramPoke_User
	 * @return
	 */
  public abstract Poke_User initUser(Poke_User paramPoke_User);
  
  /**
   * 修改在线表状态
   * @param tableid
   * @param user_id
   * @param mtkey
   * @param status
   * @return
   */
  public abstract int UserLoginSuccess(int tableid, int user_id,String mtkey,int status) ;

  /**
   * 
   * 初始化一个用户，如果有礼物id，设置
   * @param paramPoke_User
   * @return
   */
  public abstract Poke_User initUserInfo(Poke_User paramPoke_User);
  
  /**
   * "update poke_user set user_all_money=?  where user_id = ?";
   * 更新用户的钱数
   * @param user
   * @return
   */   
  public int backAllMoney(Poke_User user) ;

  public abstract Board_Table initTable(int paramInt);

  public abstract int getUserLevel(int paramInt);

  

  public abstract void backUsermoney(Poke_User paramPoke_User);

  public abstract int seatSuccess(int tableid,int user_id,String mkey);

  public abstract int userStand(int paramInt,int tableid);

  public abstract int userOut(int paramInt,int tableid,boolean ifseat);

  public abstract void addCharm_value(int paramInt1, int paramInt2);

  public abstract int cheUser(int paramInt);

  public abstract int checkUserOut(int paramInt);

  //public abstract int deductVIP(int paramInt);
}
